-- GENERATED SPELL FOR [Thrashtail Basilisk] --


function spell0_1550(pUnit, Event) --@Lash,n/a--
pUnit:FullCastSpellOnTarget(6607,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1550', 1000, 1)
end

function Sorts_1550(pUnit, Event)
local choix_sorts_1550 = math.random(0, 0)
if choix_sorts_1550 == 0 then
pUnit:RegisterEvent('spell0_1550', 1, 1)
end
end

function mob1550_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1550', math.random(1500, 3000), 1)
end

function mob1550_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1550_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1550_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1550, 1, 'mob1550_Action')
RegisterUnitEvent(1550, 2, 'mob1550_Leave')
RegisterUnitEvent(1550, 3, 'mob1550_Kill')
RegisterUnitEvent(1550, 4, 'mob1550_Die')
